﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VietThinks.Contract
{
    public interface IAdminService : IApplicationService
    {
        IList<ConfigurationDto> GetAllConfigurations();
        #region "Role"
        void DeleteRole(int roleId);
        void AddOrUpdate(RoleDto dto);
        IList<RoleDto> GetAllRole();
        RoleDto GetRoleById(int roleID);
        #endregion
        #region "Right"
        IList<RightDto> GetAllRight();
        #endregion
        #region "RightInRole"
        IList<RightInRoleDto> GetAllRightInRole();
        IList<RightInRoleDto> GetRights(int roleId);
        RightInRoleDto GetRightInRoleById(int rightInRole);
        #endregion
    }
}
